<div class="box-body table-responsive">
    <table class="table table-bordered table-hover">
        <tr>
            <th>固定积分名称</th>
            <th>月份</th>
            <th>固定积分</th>
            <th>实际得分</th>
        </tr>
        {volist name="$list" id="v"}
        <tr>
            <td>{$v.name}</td>
            <td>{:date('Ym',$y_m)}</td>
            <td>{$v.integral_b}</td>
            <td>{if condition="$y_m == strtotime(date('Y-m',time()))"} 0 {else} {$v.integral_b_sum} {/if}</td>
        </tr>
        {/volist}
    </table>
</div>
